package com.artwork.service;

import com.artwork.model.User;

import java.util.List;

/**
 * @Author JoJo
 * @Data 2021/9/8$ 13:49$
 * @Description
 * @Param $
 * @Return $
 */
public interface UserService {
    List<User> getList();

    int addUser(User user);

    User getUserById(int id);

    int updateUser(User user);

    List<User> getSonUser(int id);

    User getUserByCode(String code);

    User getUserByPhone(String phone);
}
